import App from './App'
// VUEX
import store from './store/index.js' 
import Vue from 'vue'
// 引入uview
import uView from "uview-ui";
// 兼容app端处理长辈模式
import ElderMode from '@/common/js/ElderMode.js'

Vue.config.productionTip = false
// 引入uview
Vue.use(uView);
//  引入长辈模式js
Vue.mixin(ElderMode);

App.mpType = 'app'
const app = new Vue({
	store,
    ...App
})
app.$mount()


// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif